package com.qf.smsplatform.strategy.strategy.impl;

import com.qf.smsplatform.common.model.StandardSubmit;
import com.qf.smsplatform.strategy.strategy.Strategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 短信内容的敏感词校验策略
 * @author zjw
 */
@Service(value = "dirtyWord")
@Slf4j
public class DirtyWordStrategyImpl implements Strategy {

    @Override
    public boolean execute(StandardSubmit submit) {
        log.info("【策略模块-敏感词校验】  开始执行~~~~~~~~~~~~");
        // do something.


        log.info("【策略模块-敏感词校验】  执行成功！！！！！！");
        return true;
    }
}
